package com.xsir.ditan.admin.service;

import com.xsir.ditan.admin.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xsir.ditan.admin.query.UserQuery;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xsir
 * @since 2021-02-02
 */
public interface IUserService extends IService<User> {
    
    Map<String, Object> getList(UserQuery query);
    
    Map<String, Object> info(Integer id);
    
    int cert(Integer userId, MultipartFile idCardPros, MultipartFile idCardCons);
}
